    {include file="../view/head" /}
    <style>
    /*页面自定义样式*/
        .title h5,.titleb i{
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal !important;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }
    </style>
    </head>
    <body>
        {include file="../view/header" /}
        {include file="../view/sidebar" /}
        {include file="../view/right-sidebar" /}
        <!-- Start #content -->
        <div id="content">
            <!-- Start .content-wrapper -->
            <div class="content-wrapper">
                <div class="row">
                    <!-- Start .row -->
                    <!-- Start .page-header -->
                    <div class="col-lg-12 heading hidden-xs hidden-sm">
                        <!-- Start .bredcrumb -->
                        <ul id="crumb" class="breadcrumb"></ul>
                        <!-- End .breadcrumb -->
                    </div>
                    <!-- End .page-header -->
                </div>
                <!-- End .row -->
                <div class="outlet">
                    <!-- Start .outlet -->
                    <!-- Page start here ( usual with .row ) -->
                    <div class="row">
                        <div class="col-md-12">
                            <!-- col-lg-12 start here -->
                            <div class="panel panel-default toggle panelRefresh">
                                <!-- Start .panel -->
                                <div class="panel-heading" style="padding: 10px 15px;">
                                    <a href="{:url('fabu/wenzhang_add',['type'=>$type])}" class="btn btn-info">新增{$type_cn}</a>
                                </div>
                                <div class="panel-body">
                                    <table class="table table-bordered table-hover table-striped">
                                        <thead>
                                            <tr>
                                                <th class="per5">
                                                    <label class="checkbox">
                                                        <input class="check-all" type="checkbox">
                                                    </label>
                                                </th>
                                                <th>标题</th>
                                                <th>子分类</th>
                                                <th>描述</th>
                                                <th>发布时间</th>
                                                <th>封面图</th>
                                                <!--<th>首页是否弹出</th>-->
                                                <th style="width: 115px;">工具</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        {foreach $lists as $list} 
                                            <tr>
                                                <td>
                                                    <label class="checkbox">
                                                        <input class="check" type="checkbox" value="{$list.id}">
                                                    </label>
                                                </td>
                                                <td class="title"><h5 class="m0">{$list.title}</h5></td>
                                                <td class="typeb"><i>{$list.typeb}</i></td>
                                                <td class="titleb"><i>{$list.titleb}</i></td>
                                                <td>{$list.time|date='Y-m-d H:i:s',###}</td>
                                                <td><img src="{$list.fengmian}" alt="" style="max-height: 60px;"></td>
                                               <!-- <th>{if condition="$list.is_pop eq '1'" }是{else/}否{/if} </th>-->
                                                <td>
                                                    <a href="{:url('fabu/wenzhang_edit',['type'=>$type,'id'=>$list.id])}" class="mt5 btn btn-xs btn-info">编辑</a> | 
                                                    <a href="{:url('fabu/wenzhang_del',['id'=>$list.id])}" class="mt5 btn btn-xs btn-danger">删除</a>
                                                </td>
                                            </tr>
                                        {/foreach}
                                        </tbody>
                                    </table>
                                    <div class="row">
                                        <div class="col-md-6">
                                            {$lists->render()}
                                        </div>
                                        <div class="col-md-6">
                                            <p>总数：{$lists->total()}</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- Page End here -->
                </div>
                <!-- End .outlet -->
            </div>
            <!-- End .content-wrapper -->
            <div class="clearfix"></div>
        </div>
        <!-- End #content -->
        {include file="../view/foot" /}
        <script>

        </script>
    </body>
</html>